package com.jmlee.pojo;

import java.util.Date;

public class AItemComments {
    /*
    评价id
     */
    private Long id;

    /*
    用户id
     */
    private Long userId;

    /*
    商品id
     */
    private Long itemId;

    /*
    商品名
     */
    private String itemName;

    /*
    评价等级
    1、好评
    2、中评
    3、差评
     */
    private Integer commentLevel;

    /*
    评价内容
     */
    private String content;

    /*
    创建时间
     */
    private Date createdTime;

    /*
    回复内容
     */
    private String replyComment;

    /*
    回复时间
     */
    private Date replyTime;

    public AItemComments(Long id, Long userId, Long itemId, String itemName, Integer commentLevel, String content, Date createdTime, String replyComment, Date replyTime) {
        this.id = id;
        this.userId = userId;
        this.itemId = itemId;
        this.itemName = itemName;
        this.commentLevel = commentLevel;
        this.content = content;
        this.createdTime = createdTime;
        this.replyComment = replyComment;
        this.replyTime = replyTime;
    }

    public AItemComments() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Integer getCommentLevel() {
        return commentLevel;
    }

    public void setCommentLevel(Integer commentLevel) {
        this.commentLevel = commentLevel;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getReplyComment() {
        return replyComment;
    }

    public void setReplyComment(String replyComment) {
        this.replyComment = replyComment;
    }

    public Date getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }

    @Override
    public String toString() {
        return "AItemComments{" +
                "id=" + id +
                ", userId=" + userId +
                ", itemId=" + itemId +
                ", itemName='" + itemName + '\'' +
                ", commentLevel=" + commentLevel +
                ", content='" + content + '\'' +
                ", createdTime=" + createdTime +
                ", replyComment='" + replyComment + '\'' +
                ", replyTime=" + replyTime +
                '}';
    }
}
